package com.itheima.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

@RestController
public class HelloController {

    @RequestMapping("hello")
    public String hello(){
        System.out.println("当前时间"+ LocalDateTime.now());
        return ""+LocalDateTime.now();
    }
}
